import { constantRoutes } from '@/router'

const state = {
  // 默认保存初始静态资源
  RoutesList: constantRoutes
}
const mutations = {
  // 保存完整路由信息的方法
  setRoutesList(state, value) {
    state.RoutesList = value
  }
}
const actions = {}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
